<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>华品堂信息|后台管理</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <link href="__ADMIN__/css/style.css" rel="stylesheet" type="text/css" />
	<link href="__ADMIN__/wx/css/admin.css" rel="stylesheet" type="text/css" />
	
	<script src="__ADMIN__/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="__ADMIN__/wx/js/jquery.js" charset="utf-8"></script>
	<script type="text/javascript" src="__ADMIN__/wx/js/ecmall.js" charset="utf-8"></script>
	<script type="text/javascript" src="__ADMIN__/wx/js/admin.js" charset="utf-8"></script>
	<script charset="utf-8" type="text/javascript" src="__PUBLIC__/includes/javascript/jquery.plugins/jquery.validate.js" ></script>
	<script type="text/javascript">
	//<!CDATA[
	$(function(){
	    $('#appForm').validate({
	        errorPlacement: function(error, element){
	            $(element).next('.field_notice').hide();
	            $(element).after(error);
	        },
	        success       : function(label){
	            label.addClass('right').text('OK!');
	        },
	        onkeyup    : false,
	        rules : {
	        	appid: {
	                required: true
	            },
	            appsecret: {
	                required : true
	            }
	        },
	        messages : {
	        	appid: {
	                required: '开发者appId不能为空'
	            },
	            appsecret: {
	                required: '开发者appSecret不能为空'
	            }
	        }
	    });
	});
	//]]>
	</script>
	<style>
		.info2{
			margin-left:100px;
			margin-top: 20px;
		}
		.info2 table tr th{
			line-height:40px;
			text-align:left;
		}
		.info2 p{
			line-height:20px;
			margin-top: 10px;
		}
	</style>
  </head>
<body>
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">微信开发者ID管理</a></li>
    </ul>
</div>
<div class="info2">
	<form action="{:U('addSettingApp')}" id="appForm" method="post">
	    <table>
	           <tr>
	            <th>微信AppId：</th>
	            <td><input type="text" name="appid" class="dfinput"  size="50" value="{$appid}" placeholder="微信AppId"/></td>
	        </tr>
	        <tr>
	            <th>微信AppSecret：</th>
	            <td><input type="text" name="appsecret" class="dfinput" size="50" value="{$appsecret}" placeholder="微信AppSecret"/></td>
	        </tr>
	        <tr>
	            <th></th>
	            <td class="ptb20">
	                <input class="formbtn" type="submit" name="Submit" value="提交" />
	                <input class="formbtn" type="reset" name="reset" value="重置" />
	            </td>
	        </tr>
	        <tr>
	        	<td colspan="2">
	        		<p>1、先填写微信AppId和微信AppSecret（这个2个值需要到微信公众平台获取）</p>
	        		<p>2、微信AppSecret查看需要用开通公众号的用户扫码才能看到</p>
	        		<img alt="" src="__PUBLIC__/admin/shuoming/appid_appsecert.jpg" style="margin-left: 40px;">
	        	</td>
	        </tr>
	    </table>
    </form>
</div>
  </body>
</html> 